<script>
export default {
  name: 'popup',
  props: {
    data: {
      type: Object,
      default: () => null
    }
  }
}
</script>

<template>
<div class="popup-container">
  <van-popup
    :show="data"
    closeable
    position="bottom"
    custom-style="height: 50%"
    @close="$emit('close')"
  />
</div>
</template>

<style lang="scss">

</style>
